feat(airweave): add airweave block#3079
feat(airweave): add airweave block#3079EwanTauran wants to merge 4 commits intosimstudioai:stagingfrom
Conversation
|
@EwanTauran is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
|
running into some slight issues testing, when i run Sim locally I can't create blocks (not airweave, not any other block for that matter). so I can't test the integration and move forward. would be great if someone could help me out with this. |
|
@EwanTauran is the socket server running? you have to run |
…r Airweave search tool
|
that helped, thanks @waleedlatif1. everythings working I think we're ready to merge |
|
@greptile |
Greptile OverviewGreptile SummaryAdded Airweave integration that enables unified semantic search across 30+ connected data sources (Stripe, GitHub, Notion, Slack, HubSpot, Zendesk, etc.) through a single API. Implementation:
Architecture alignment:
Key features:
No issues found. The implementation is clean, well-structured, and follows all established patterns. Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant SimWorkflow
participant AirweaveBlock
participant AirweaveTool
participant AirweaveAPI
User->>SimWorkflow: Configure Airweave block with collectionId, query, apiKey
SimWorkflow->>AirweaveBlock: Serialize block config
AirweaveBlock->>AirweaveBlock: Select tool from access array [0]
AirweaveBlock-->>SimWorkflow: tool: "airweave_search"
SimWorkflow->>AirweaveTool: Execute airweave_search with params
AirweaveTool->>AirweaveTool: Build request body
Note over AirweaveTool: Include optional params:<br/>limit, retrievalStrategy,<br/>expandQuery, rerank,<br/>generateAnswer
AirweaveTool->>AirweaveAPI: POST /collections/{collectionId}/search
Note over AirweaveAPI: X-API-Key header<br/>Content-Type: application/json
AirweaveAPI-->>AirweaveTool: Search results + optional completion
AirweaveTool->>AirweaveTool: Transform response
Note over AirweaveTool: Map results to output schema<br/>with entity_id, source_name,<br/>md_content, score, etc.
AirweaveTool-->>SimWorkflow: {success: true, output: {results, completion?}}
SimWorkflow-->>User: Display search results
|
Summary
Adds Airweave integration to Sim, enabling agents to search across 30+ connected data sources including Stripe, GitHub, Notion, Slack, HubSpot, Zendesk, and more through a unified semantic search API.
Airweave makes any app searchable by syncing data from various sources with minimal configuration. This integration allows Sim workflows to query internal company data, customer information, and business metrics from all connected sources in a single search.
What is Airweave?
Airweave is an open-source platform that provides unified search across multiple business applications. It:
Why This Integration Matters
Currently, Sim workflows that need to access company data require:
With Airweave, agents can:
Type of Change
Implementation Details
Files Added
Tools (
tools/airweave/):types.tssearch.tsindex.tsBlock:
blocks/blocks/airweave.tsFiles Modified
components/icons.tsxAirweaveIcontools/registry.tsairweave_searchtoolblocks/registry.tsairweaveblockDocumentation Generated
apps/docs/content/docs/en/tools/airweave.mdxapps/docs/components/icons.tsxapps/docs/components/ui/icon-mapping.tsapps/docs/content/docs/en/tools/meta.jsonTool Configuration
airweave_searchairweaveParameters
collectionIdqueryapiKeylimitretrievalStrategyhybrid,neural, orkeywordexpandQueryrerankgenerateAnswerOutputs
resultsentity_id,source_name,md_content,score,metadata,breadcrumbs,urlcompletiongenerateAnsweris enabled)Block Features
#6366F1) with Airweave logoUsage Examples
As Standalone Block
Search for customer feedback across all connected platforms:
As Agent Tool with AI Answers
Enable agents to get summarized answers from company knowledge:
Setup Requirements
Testing
generate-docsscriptReviewers should verify:
Checklist
Related Resources
Breaking Changes
None - this is a new integration with no impact on existing functionality.